package com.foryou.wechat.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.foryou.wechat.entity.PlaceClockEntity;
import com.foryou.wechat.entity.PlaceCollectEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by Lee.
 */
@Mapper
@Repository
public interface PlaceClockMapper extends BaseMapper<PlaceClockEntity> {

    List<String> getUserAvatarUrlList(Long placeId);

    int getUserPlaceClock(@Param("placeId") Long placeId, @Param("userId") Long userId);

}
